Skip to content

Conversation

etcho
Copy link
Contributor

@etcho etcho commented Nov 16, 2017

Changing the date validation function, adding optional attributes min-date and max-date. If informed, it sets an allowed range for the date. It checks following this order: valid date, minimum date, maximum date. Both data-validation-min-date and max-date should be informed using the same format as the field (yyyy-mm-dd as default or any format informed through data-validation-format). English and portuguese locales are ok. The other ones are untranslated.

Requested on issue #656

Adding validation (brdate) for brazilian dates, that uses the form dd/mm/yyyy. It validates length, format and if the date actually exists. Minified (production) not included.
Changing the date validation function, adding optional attributes min-date and max-date. If informed, it sets an allowed range for the date. It checks following this order: valid date, minimum date, maximum date. Both data-validation-min-date and max-date should be informed using the same format as the field (yyyy-mm-dd as default or any format informed through data-validation-format). English and portuguese locales are ok. The other ones are untranslated.
Changing the date validation function, adding optional attributes min-date and max-date. If informed, it sets an allowed range for the date. It checks following this order: valid date, minimum date, maximum date. Both data-validation-min-date and max-date should be informed using the same format as the field (yyyy-mm-dd as default or any format informed through data-validation-format). English and portuguese locales are ok. The other ones are untranslated.

Request on issue victorjonsson#656
@Amedeo91
Copy link

Feel free to raise your PR here: https://github.com/Amedeo91/jQuery-Form-Validator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants